﻿
using System;
using System.Diagnostics.CodeAnalysis;
using System.Windows.Forms;
namespace Plugins.Core.Interfaces
{
    public interface IPluginWindowItem
    {
        string[] GetNames();
        
        bool Enable(string name);
        bool Disable(string name);

        bool Add(ToolStripItem item);
        bool Remove(ToolStripItem item);

        [SuppressMessage("Microsoft.Naming", "CA1716")]
        bool AddHandler(string name, EventHandler handler);
        [SuppressMessage("Microsoft.Naming", "CA1716")]
        bool RemoveHandler(string name, EventHandler handler);
    }
}
